/**
 * 访问记录
 */
import request from '@/utils/request'

export default {
       /**
     * 导出 日表。xlsx
     */
        exportDays(data) {
            return request({
                url: '/attend/member/employeeAttendService/exportDays',
                method: 'POST',
                data,
                responseType: 'blob'
            })
        },
     /**
         * 导出 月表。xlsx
         */
      exportMonth(data) {
        return request({
            url: '/attend/member/employeeAttendService/exportMonth',
            method: 'POST',
            data,
            responseType: 'blob'
        })
    },

       /**
     * 查询
     */
        queryDays(data) {
            return request({
                url: '/attend/member/employeeAttendService/queryDays',
                method: 'POST',
                data
            })
        },

           /**
     * 查询
     */
            queryMonth(data) {
        return request({
            url: '/attend/member/employeeAttendService/queryMonth',
            method: 'POST',
            data
        })
    },

    /**
     * 批删
     */
    deleteByRange(data) {
        return request({
            url: '/attend/member/employeeCardService/deleteByRange',
            method: 'POST',
            data
        })
    },

    /**
     * 排期
     */
    schedule(data) {
        return request({
            url: '/attend/member/employeeCardService/schedule',
            method: 'POST',
            data
        })
    },
    /**
     * 保存
     */
    save(data) {
        return request({
            url: '/attend/member/employeeCardService/save',
            method: 'POST',
            data
        })
    },
    /**
     * 查询
     */
    query(data) {
        return request({
            url: '/attend/member/employeeCardService/query',
            method: 'POST',
            data
        })
    },
    /**
     * 导出工作日。xlsx
     */
    export(data) {
        return request({
            url: '/attend/member/employeeCardService/export',
            method: 'POST',
            data,
            responseType: 'blob'
        })
    },

    findById(id) {
        return request({
            url: '/attend/member/employeeCardService/findById/' + id,
            method: 'POST'
        })
    },
    deleteById(id) {
        return request({
            url: '/attend/member/employeeCardService/delete/' + id,
            method: 'POST'
        })
    },



}
